<?php get_header(); ?>
<!-- Container -->
<div class="CON">

<!-- Start SC -->
<div class="SC">

<?php if (have_posts()) : ?>
<h2 class="pagetitle">Search Results</h2>

<!-- Start Nav -->
<?php if (function_exists('wp_pagenavi')) { ?><?php wp_pagenavi('','<br /><br />'); ?><?php } ?>
<!-- End Nav -->


<?php while (have_posts()) : the_post(); ?>

<div class="Post" style="padding-bottom: 40px;">
<div class="PostHead" style="margin-left: 0px;">
<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
<small><?php the_time('l, F jS, Y') ?></small>
</div>
<div class="PostContent">
<?php the_excerpt() ?>
</div>

<?php if (function_exists('the_tags')) { ?> <?php the_tags('<ul class="PostDet"><li class="Tags">Tags: ', ', ', '</li> </ul>'); ?> <?php } ?>
</div>

<?php endwhile; ?>

<!-- Start Nav -->
<?php if (function_exists('wp_pagenavi')) { ?><?php wp_pagenavi('','<br /><br />'); ?><?php } ?>
<!-- End Nav -->

	<?php else : ?>

		<h2 class="pagetitle">No posts found. Try a different search?</h2>
	<?php endif; ?>
</div>
<!-- End SC -->

<?php get_sidebar(); ?>
</div>
<!-- End CON -->

<?php get_footer(); ?>